package com.aggron.bean;

import com.google.common.collect.Lists;
import lombok.*;

import java.util.List;

/**
 * 分页返回的结果
 * @author liuhuan
 * @param <T>
 */
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {

    private List<T> list = Lists.newArrayList();

    private int total = 0;

    private PageQuery pagination;


}
